package com.ruoyi.interview.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 面试明细对象 tb_interview
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class TbInterview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 所属面试记录 */
    @Excel(name = "所属面试记录")
    private Long recordId;

    /** 面试标识 */
    @Excel(name = "面试标识")
    private String mark;

    /** 面试时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "面试时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date interviewTime;

    /** 面试音频 */
    @Excel(name = "面试音频")
    private String interviewAudio;

    /** 面试状态 */
    @Excel(name = "面试状态")
    private String interviewStatus;

    /** 作者有话说 */
    @Excel(name = "作者有话说")
    private String authorMsg;

    private List<TbComment> commentList;

    public List<TbComment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<TbComment> commentList) {
        this.commentList = commentList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setMark(String mark) 
    {
        this.mark = mark;
    }

    public String getMark() 
    {
        return mark;
    }
    public void setInterviewTime(Date interviewTime) 
    {
        this.interviewTime = interviewTime;
    }

    public Date getInterviewTime() 
    {
        return interviewTime;
    }
    public void setInterviewAudio(String interviewAudio) 
    {
        this.interviewAudio = interviewAudio;
    }

    public String getInterviewAudio() 
    {
        return interviewAudio;
    }
    public void setInterviewStatus(String interviewStatus)
    {
        this.interviewStatus = interviewStatus;
    }

    public String getInterviewStatus()
    {
        return interviewStatus;
    }
    public void setAuthorMsg(String authorMsg) 
    {
        this.authorMsg = authorMsg;
    }

    public String getAuthorMsg() 
    {
        return authorMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recordId", getRecordId())
            .append("mark", getMark())
            .append("interviewTime", getInterviewTime())
            .append("interviewAudio", getInterviewAudio())
            .append("interviewStatus", getInterviewStatus())
            .append("authorMsg", getAuthorMsg())
            .append("commentList", getCommentList())
            .toString();
    }
}
